<?php
  header("Content-type:text/html;charset=utf-8");
   $I_Level = $_POST['I_Level'];
   $I_UserName = $_POST['I_UserName'];
   $json_arr = array("I_Level"=>$I_Level,"I_UserName"=>$I_UserName);
   $json_obj = json_encode($json_arr);

   $str1 =  "192.168.0.221:8080/test/user/password?username=";
   $url = $str1."".$I_UserName;
   $ch = curl_init();
   curl_setopt($ch,CURLOPT_URL,$url); /*获取URL的内容*/
   curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
   curl_setopt($ch,CURLOPT_HEADER,0);
   //curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);/*获取的内容不输出*/
   $content = curl_exec($ch);/*输出获取的内容*/
 //  $httpCode = curl_getinfo($ch,CURLINFO_HTTP_CODE);
   curl_close($ch);
   if($content==""){
    echo "1";
   }else{
    echo "0";
   }

?>